]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
telepathy-client: Replace shell_util_new_from_string
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 24 Oct 2011 13:52:13 +0000 (15:52 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Mon, 24 Oct 2011 14:37:15 +0000 (16:37 +0200)
The function has been removed in commit 786cfbd3976, but one user
was overlooked when replacing it.

https://bugzilla.gnome.org/show_bug.cgi?id=661231

js/ui/telepathyClient.js

index 695a12b7655066622fb785353bbaf58716380195..3c14eda526fbbcb8d75064bf26148595e6bea2f2 100644 (file)
@@ -1297,7 +1297,7 @@ MultiNotificationSource.prototype = {
     },
 
     createNotificationIcon: function() {
-        return new St.Icon({ gicon: Shell.util_icon_from_string(this._icon),
+        return new St.Icon({ gicon: Gio.icon_new_for_string(this._icon),
                              icon_type: St.IconType.FULLCOLOR,
                              icon_size: this.ICON_SIZE });
     }